#include "SportPage.h"
#include "AppRouter.h"
#include "PageMgr.h"

REGISTER_PAGE("Pages/Sport", SportPage)

void SportPage::OnViewLoad() {
	m_view.Create(m_body);
}

void SportPage::OnScrSlideLeft() {
	GoTo("Pages/Main", anim_type_em::LOAD_ANIM_FADE_ON);
}
void SportPage::OnScrSlideRight() {
	GoTo("Pages/Main", anim_type_em::LOAD_ANIM_FADE_ON);
}
void SportPage::OnViewShow() {
	m_view.StartElemAnim();
}